package business.report.impl;

import business.report.ConstructionDesEnterprisesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.ConstructionDesEnterprises;
import report.domain.ConstructionDesEnterprisesCriteria;
import report.mapper.ConstructionDesEnterprisesMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "constructionDesEnterprisesService")
public class ConstructionDesEnterprisesServiceImpl implements ConstructionDesEnterprisesService{
    @Autowired
    ConstructionDesEnterprisesMapper constructionDesEnterprisesMapper;
    @Override
    public List<ConstructionDesEnterprises> getConstructionDesEnterprises() {
        ConstructionDesEnterprisesCriteria criteria = new ConstructionDesEnterprisesCriteria();
        criteria.createCriteria().getAllCriteria();
        return constructionDesEnterprisesMapper.selectByExample(criteria);
    }
}
